package dao;

import entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface StudentMapper {

    public List<Student> findALL();

    public  Integer add(Student s);

    public Integer del(@Param("stunos") int []stunos);

    public Integer update(Student s);

    public List<Student> bywxqqsname(@Param("wechat") String wechat, @Param("qq") String qq, @Param("sname") String sname, @Param("enterStart")Date enterStart,@Param("enterEnd") Date enterEnd, @Param("start")int start, @Param("pageSize") int pageSize);

    public Student bystuno(int stuno);

    public List<Student> bygradeid(@Param("gradeid") int []gradeid);

    public Integer searchTotal();





}
